﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B303Langf.Parser.AST
{
   public class DeclarationStatement : Statement
   {
      public DeclarationStatement( Declaration declaration )
      {
         Declaration = declaration;
      }

      public Declaration Declaration
      {
         get;
         private set;
      }

      public override object Visit( IVisitor v, object obj )
      {
         return v.VisitDeclarationStatement( this, obj );
      }
   }
}
